package com.dwxt.sport.business.dao;

import com.dwxt.sport.business.entity.SportsTraining;
import com.dwxt.sport.business.view.DistributionMapView;
import com.dwxt.sport.business.vo.sportsTraining.SelectSportsTrainingVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface SportsTrainingMapper extends Mapper<SportsTraining> {

    List<SportsTraining> selectSportsTrainingByCriteria(SelectSportsTrainingVo selectVo);

    int deleteSportsTrainingByIds(@Param("ids") String[] idArray);

    List<DistributionMapView> selectDistributionMapViewByAll();
}